home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / list77a.zip / LISTMOD.DOC < prev    next >
Text File  |  1992-10-07  |  19KB  |  670 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.                                  LIST 
  14.  
  15.  
  16.                             CUSTOMIZATION GUIDE 
  17.  
  18.  
  19.                        A File Viewing and Browsing Utility 
  20.  
  21.                        Version 7.7            October 1992 
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.         (c) Copyright  Vernon D. Buerg 1983-92.  All rights reserved 
  43.  
  44.         LIST is a copyrighted program.  LIST is NOT public domain. 
  45.  
  46.         LIST may copied for personal use only subject to the restrictions 
  47.         set forth in the last chapter. 
  48.  
  49.             T A B L E   O F   C O N T E N T S
  50.  
  51. __________________________________________________________________________
  52.  
  53.  
  54. Modifying LIST.COM  ................................................... 1    
  55.      Locations of option values  ...................................... 1    
  56.         LIST Plus only  ............................................... 3    
  57.      Reassigning keys  ................................................ 5    
  58.      Table of Routines  ............................................... 6    
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101. Contents 1                                             LIST  User's Guide 
  102. Modifying LIST.COM 
  103. ______________________________________________________________________________
  104.  
  105.  Locations of option values 
  106.  
  107.  
  108.     This information is offered to those of you who wish to modify  LIST 
  109.     in special ways.  You do not need this information to use LIST.   An 
  110.     alternative to cloning  is to use  DEBUG to make  permanent changes. 
  111.     Also, a special customization program called LISTOPT is available to 
  112.     registered and licensed users.  Subtract hex 100 if  you are using a 
  113.     a file editor instead of DEBUG. 
  114.  
  115.     Here is a list of key items and their addresses: 
  116.  
  117.     Item           Offset  Value    Description of contents 
  118.     -------------- ------  -----    ----------------------- 
  119.     Special         0132    70      Top/bottom line colors 
  120.         Special lines 1 and 25 colors, default is 70 (reverse). 
  121.         Refer to a technical reference guide for the 
  122.         attribute values for the colors that you want. 
  123.  
  124.     Normal          0134    07      Text colors 
  125.     Bright          0136    09      Find/Scan line colors 
  126.  
  127.     Window 1 color  0138    07      Primary window text color 
  128.     Window 2 color  0139    0F      Second window text color 
  129.  
  130.     Flag3           013A    09      Retrace off and junk filter on 
  131.  
  132.     By specifying the bit value, the option is enabled.  For example, to 
  133.     enable Shared and Retrace, specify a hex value of the sum, or  01+04 
  134.     = 05. 
  135.                MRSJ WHK*  M = mono, retrace testing if off, x'01' 
  136.                           R = ruler, x'02' 
  137.                           S = shared, x'04' 
  138.                           J = add LF to lone CR, process backspaces, 
  139.                               if on, x'08'; default is off 
  140.                           W = wrap mode, x'10' 
  141.                           H = hi-bit on, x'20' 
  142.                           K = kybd flush, x'40' 
  143.                           * = special document filtering, x'80' 
  144.  
  145.     Flag4           013B    08      Tabs on 
  146.                .PAT DGV.  P = Preload file if on, x'02', default is off 
  147.                           A = Apxcore if on, TV/DD/DV if off, x'04, 
  148.                               default is for Topview/Double DOS use 
  149.                           T = if on (default), expand TABs, x'08' 
  150.                           D = hex display mode if on, x'10' 
  151.                           G = if on, Alt-G goto DOS is Disabled, x'20' 
  152.                           V = if on, screen save/restore is Disabled 
  153.                               and 9K less memory is used/required, x'40' 
  154.  
  155. LIST  User's Guide                                                    Page  1 
  156. Modifying LIST.COM 
  157. ______________________________________________________________________________
  158.  
  159.  Locations of option values 
  160.  
  161.  
  162.     Find row        013C    0800    Position of found line on screen, 8 
  163.     Row less one at which found text is displayed,  1 byte the default 
  164.     is 08 which displays found text on line  9 
  165.  
  166.     When the  Find/Scan command  is used,  the next  line which contains 
  167.     that text is highlighted using the 'bright' color, and is placed  in 
  168.     row 9 of the screen.  You can change the row by Altering the byte at 
  169.     location 13C which is normally '08', one less than the row. 
  170.  
  171.     Scroll incr     013E    0A00    Left/right scroll increment, 10 
  172.     Scroll start    0140    0000    Starting scroll offset, 0 
  173.     Tab value       0142    0800    Tab interval, 8 
  174.     Tab mask        0144    F8FF    Tab bit mask 
  175.     Loudness        0146    C8      Beep tone level 
  176.     Key rate        0148    FF      Continuous scroll increment, 255 
  177.     Overlap         0149    0000    PgUp/PgDn scroll overlap, 0 
  178.     Wildcard esc    014B    26      Scan/Find wildcard ? escape character 
  179.     Alt-V up        014C    0500    Alt-V display files per line, 5 
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209. Page  2                                                    LIST  User's Guide 
  210. Modifying LIST.COM 
  211. ______________________________________________________________________________
  212.  
  213.  Locations of option values 
  214.  
  215.  
  216.     LIST Plus only 
  217.     -------------- 
  218.     Eye-catcher     014E    'COM:' 
  219.     COM port        0152    F803    Default for COM1, use F802 for COM2 
  220.  
  221.     Sort offset     0154    00      Default sort key offset 
  222.                                 00 by filename 
  223.                                 08 by extension 
  224.                                 0C by datestamp 
  225.                                 10 by file size 
  226.  
  227.     Flag6           0156    00      Plus options 
  228.                                 04  suppress "Are you sure?" prompts 
  229.                                 10  send FF formfeed after ctrl-P 
  230.                                 40  /Q option, suppress beeps 
  231.                                 80  /V option, verify file copies 
  232.  
  233.     Modem init      0157    'AT'    30-byte modem initialization string 
  234.     Editor name     0175    'Edit'  8-byte name of editor program 
  235.     Modem hang-up   017E    'ATZ'   9-byte modem disconnect command 
  236.     Temp var name   0187    LIST    4-character environment name for temps 
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263. LIST  User's Guide                                                    Page  3 
  264. Modifying LIST.COM 
  265. ______________________________________________________________________________
  266.  
  267.  Locations of option values 
  268.  
  269.     The following offsets change from version to version. Look for the 
  270.     eye-catchers to be sure of the offset: 
  271.  
  272.     Key table       0473    'WHAT'  Eye catcher 
  273.                     0477    0026    Key command table 
  274.     Routines        057C    'WHERE' Eye catcher 
  275.                     0581    xxxx    Command routines 
  276.  
  277.     Examples of using DEBUG can be found in the DIALER.PAT and 
  278.     COLORS.PAT files. To use them, copy LIST.COM to the current 
  279.     directory and issue the DEBUG command. For example: 
  280.  
  281.             DEBUG <DIALER.PAT 
  282.  
  283.  
  284.  
  285.  
  286.  
  287.  
  288.  
  289.  
  290.  
  291.  
  292.  
  293.  
  294.  
  295.  
  296.  
  297.  
  298.  
  299.  
  300.  
  301.  
  302.  
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317. Page  4                                                    LIST  User's Guide 
  318. Modifying LIST.COM 
  319. ______________________________________________________________________________
  320.  
  321.  Reassigning keys 
  322.  
  323.     LIST performs a function for every character that can be entered  at 
  324.     the command line prompt.  There  are 128 regular characters and  131 
  325.     extended characters.  The regular characters are numbered from 0  to 
  326.     127, and  they include  the letters  A-Z, a-z,  the numbers, and the 
  327.     rest of  the usual  single characters  found on  your keyboard.  The 
  328.     extended characters represent special function keys and combinations 
  329.     of keys, such as F1, Alt-X, Ctrl-A, and the cursor positioning keys. 
  330.  
  331.     The  WHAT  table  in  LIST  has  a  one  byte  entry for each of the 
  332.     characters.  This byte is a number from 0 to 57 that represents  the 
  333.